﻿using Leo.Awesome.AppPlatform.Dtos;
using Leo.Core.Application.Contracts;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Leo.Awesome.AppPlatform.Services
{
    public interface IMenuAppService:IBaseCrudAppService<
        MenuGetOutPutDto,
        MenuGetListOutputDto,
        MenuPagedResultDto,
        Guid,
        MenuGetListInput,
        MenuCreateUpdateInput,
        MenuCreateUpdateInput,
        MenuGetListPageInput>
    {
        Task<List<MenuTreeOutput>> GetTree(MenuTreeInput input);

        Task UpdateMenuEnable(MenuEnableInput input);
    }
}
